{% extends 'base.html' %}

{% block title %}联系 - Will's Blog{% endblock %}

{% block content %}
<div class="row">
    <div class="col-lg-8 mx-auto">
        <div class="card">
            <div class="card-body">
                <h1 class="card-title text-center mb-4">联系我</h1>
                
                <div class="row mb-5">
                    <div class="col-md-4 text-center mb-3 mb-md-0">
                        <div class="contact-icon">
                            <i class="bi bi-envelope fs-1 text-primary"></i>
                        </div>
                        <h4 class="mt-3">电子邮件</h4>
                        <p><a href="mailto:example@example.com">example@example.com</a></p>
                    </div>
                    
                    <div class="col-md-4 text-center mb-3 mb-md-0">
                        <div class="contact-icon">
                            <i class="bi bi-github fs-1 text-primary"></i>
                        </div>
                        <h4 class="mt-3">GitHub</h4>
                        <p><a href="https://github.com/yourusername" target="_blank">github.com/yourusername</a></p>
                    </div>
                    
                    <div class="col-md-4 text-center">
                        <div class="contact-icon">
                            <i class="bi bi-linkedin fs-1 text-primary"></i>
                        </div>
                        <h4 class="mt-3">LinkedIn</h4>
                        <p><a href="https://linkedin.com/in/yourprofile" target="_blank">linkedin.com/in/yourprofile</a></p>
                    </div>
                </div>
                
                <div class="contact-form">
                    <h3 class="text-center mb-4">给我留言</h3>
                    
                    <form>
                        <div class="mb-3">
                            <label for="name" class="form-label">姓名</label>
                            <input type="text" class="form-control" id="name" name="name" required>
                        </div>
                        
                        <div class="mb-3">
                            <label for="email" class="form-label">电子邮件</label>
                            <input type="email" class="form-control" id="email" name="email" required>
                        </div>
                        
                        <div class="mb-3">
                            <label for="subject" class="form-label">主题</label>
                            <input type="text" class="form-control" id="subject" name="subject" required>
                        </div>
                        
                        <div class="mb-3">
                            <label for="message" class="form-label">留言内容</label>
                            <textarea class="form-control" id="message" name="message" rows="5" required></textarea>
                        </div>
                        
                        <div class="text-center">
                            <button type="submit" class="btn btn-primary">发送留言</button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
{% endblock %}